home *** CD-ROM | disk | FTP | other *** search
/ Amiga News 95 / Amiga News 95.iso / dpat / dpat13 / installation.francais < prev    next >
AmigaDOS Script File  |  1992-09-16  |  4KB  |  97 lines

  1. .key param
  2.  
  3. ;here is DP Managing 2.21 script installation
  4.  
  5. ;Author : David Scrève
  6. ;Version : 2.21
  7. ;Revision : 6.52
  8. ;Date : 92-09-16
  9. ;size : 3553 octets
  10.  
  11. ; CopyRight David Scrève © 1992
  12. Failat 20
  13.  
  14. ;this script must be execute from DF0: with a complete OS 2.04
  15.  
  16. echo "Installation de DP Managing 2.21 dans : "<param>
  17. echo "CopyRight David Scrève © 1992"
  18. Ask "Voulez-vous continuer (Y/N) ?"
  19. if WARN
  20.     Version >NIL: exec.library 37
  21.     If WARN
  22.         Echo "DP Managing nécessite un Kickstart V37 ou plus : installation impossible."
  23.         echo "Installation abandonnée..."
  24.        else
  25.         Version >NIL: LIBS:powerpacker.library
  26.         If NOT ERROR
  27.             Echo "Version de powerpacker.library déjà installée:"
  28.             Version LIBS:powerpacker.library
  29.             Echo ""
  30.         Endif
  31.         Ask "Install powerpacker.library version 35.274 ?"
  32.         If WARN
  33.             Copy :libs/powerpacker.library LIBS:powerpacker.library
  34.             Echo "*npowerpacker.library 35.274 copiée dans LIBS:"
  35.         Endif
  36.         Version >NIL: LIBS:reqtools.library
  37.         If NOT ERROR
  38.              Echo "Version de reqtools.library déjà installée:"
  39.              Version LIBS:reqtools.library
  40.              Echo ""
  41.         EndIf
  42.         Ask "Install version special Kickstart 2.0 de reqtools.library (37.726) ?"
  43.             If WARN
  44.                  Copy ":libs/reqtools.library" LIBS:reqtools.library
  45.                  Avail >NIL: FLUSH
  46.                  Echo "*nreqtools.library (version pour 2.0) installée."
  47.             EndIf
  48.         Avail >NIL: FLUSH
  49.       cd "<param>"
  50.  
  51.       makedir "DP Managing" >Nil:
  52.       copy df0:Icon/directory.info "DP Managing.info"
  53.       cd "DP Managing"
  54.       copy df0:muchmore c:muchmore
  55.       copy "df0:documentation/DP Managing.francais.info" "DP Managing.doc.info"
  56.       copy "df0:documentation/DP Managing.francais" "DP Managing.doc"
  57.       copy "df0:UserStyle.doc" "UserStyle.doc"
  58.       copy "df0:UserStyle.doc.info" "UserStyle.doc.info"
  59.       copy "df0:UpDate/2.21 UpDate.francais" "2.21 Update.doc"
  60.       copy "df0:UpDate/2.21 UpDate.francais.info" "2.21 UpDate.doc.info"
  61.       copy "df0:Icon/DPManaging_francais.info" "DP Managing.info"
  62.       makedir Adherent >Nil:
  63.       makedir Disque   >Nil:
  64.       makedir Categorie >NIL:
  65.       makedir Tempdir  >NIL:
  66.       cpu check 68030 >NIL:
  67.       if NOT WARN
  68.            echo "MC 68030 détecté"
  69.            cpu check 68882 >NIL:
  70.            if NOT WARN
  71.                 echo "coprocesseur arithmétique MC 68882 détecté"
  72.                 Ask "On installe la version compilée pour 68030/68882 (Y/N) ?"
  73.                 if WARN
  74.                     rename "DP Managing.info" "DP Managing 030.info"
  75.                     copy "df0:DPManaging 2.21-030" "DP Managing 030"
  76.                    else
  77.                     echo "Pas de coprocesseur arithmétique MC 68882 détecté"
  78.                     echo "Installation de la version compilée pou MC 68000..."
  79.                     copy "df0:DPManaging 2.21" "DP Managing"
  80.                 endif
  81.               else
  82.                 echo "Pas de coprocesseur arithmétique MC 68882 détecté"
  83.                 echo "Installation de la version compilée pou MC 68000..."
  84.                 copy "df0:DPManaging 2.21" "DP Managing"
  85.            endif
  86.          else
  87.            echo "Pas de coprocesseur arithmétique MC 68882 détecté"
  88.            echo "Installation de la version compilée pou MC 68000..."
  89.            copy "df0:DPManaging 2.21" "DP Managing"
  90.       Endif
  91.       echo "Installation terminée."
  92.     Endif
  93.   else
  94.     echo "Installation abandonnée..."
  95. endif
  96.  
  97.